From 7d47266bd1b5cb41bbf138b50d131c7dad1ce93e Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 2 Jul 2006 01:27:05 +0000 Subject: [PATCH] Include protos for windows esrial builds. Tweak windows build target. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2193 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/Makefile.in | 3 ++- gpsbabel/jeeps/gpsserial.c | 1 + gpsbabel/magproto.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gpsbabel/Makefile.in b/gpsbabel/Makefile.in index 2269f93e8..0792e9d9c 100644 --- a/gpsbabel/Makefile.in +++ b/gpsbabel/Makefile.in @@ -192,8 +192,9 @@ release-winbuild: rm -fr /tmp/gpsbabel-$(VERSIOND)-cross cp -a gpsbabel-$(VERSIOND) /tmp/gpsbabel-$(VERSIOND)-cross cd /tmp/gpsbabel-$(VERSIOND)-cross ; \ - CC=i386-mingw32-gcc LDFLAGS="-s" ./configure --target=i386-pc-mingw32 --with-cet=all --with-expathdr=mingw/include --with-libexpat=mingw/lib && make + CC=i386-mingw32-gcc LDFLAGS="-s" ./configure --target=i386-pc-mingw32 --with-cet=all --with-expathdr=mingw/include --with-libexpat=mingw/lib && make && \ zip -j /tmp/gpsbabel-$(VERSIOND).zip $(WINFILES) + rm -fr /tmp/gpsbabel-$(VERSIOND)-cross release-upload: @(. tools/functions && ask "Type yes if you want to do the upload now" "yes" ) diff --git a/gpsbabel/jeeps/gpsserial.c b/gpsbabel/jeeps/gpsserial.c index 53dc1e62c..f714cb997 100644 --- a/gpsbabel/jeeps/gpsserial.c +++ b/gpsbabel/jeeps/gpsserial.c @@ -25,6 +25,7 @@ ********************************************************************/ #include "gps.h" #include "gpsserial.h" +#include "../gbser.h" #include #include #include diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 1be3c9196..7da943531 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -24,6 +24,7 @@ #include "defs.h" #include "magellan.h" +#include "gbser.h" static int bitrate = 4800; static int wptcmtcnt; -- 2.30.2